Yeah, you're right. It should be `prefs.definePreference`. Will fix.