Refactoring settings.