@classmethod
def normalized_extension(cls, extension):
    """Returns extension in normalized form, i.e. without leading dot and all lower capitals."""
    if not extension:
        return None
    if extension.startswith('.'):
        return extension[1:].lower()
    else:
        return extension.lower()
