def settings(**kwargs):
    """ Decorater to populate the `_settings` attribute of a definition class
    """
    def setit(cls):
        if kwargs:
            setattr(cls, '_settings', {})
        for key, val in kwargs.items():
            cls._settings[key] = val
        return cls
    return setit