Refactored fade switch into its own subclass.