These 5 lines are now repeated in 6 functions. It would be nicer to have a private function that given the option name and the value it would update the instances and the prefs, and call it from each function with the corresponding option and value. It could even be a normal function and not extended from Editor to make it really private.