Settings refactored as a plugin