def METHOD_NAME(cls):
    """Return a dict representation containing all required information for templates."""
    ret = {x.name: x.value for x in cls.values()}
    ret['list'] = cls.list()
    return ret