Refactored Settings object.