Moved Prefs kind into Prefs.js