Nice! I think I saw this comment elsewhere, but a test in PreferencesBase-test for this would be a good addition.