@classmethod
def settings(cls, manager, required=None, defaults=None):
    """
        attach settings to class

        @param required: required settings
        @param defaults: default settings
        """
    if required is not None:
        manager.settings.required = required
    if defaults is not None:
        manager.settings.defaults = defaults
