Refactored settings.