added __hash__ method to SettingsWrapper