SettingObject: Refactored complex #method_missing
Scopes: Refactoring to remove code duplication