Refactored Settings.