@classmethod
def reset_to_defaults(cls):
    """
        Reset all settings to their default values.
        """
    for name, setting in cls._settings.items():
        setattr(cls, name, setting.default)
