Make sure to include the Preference model in the main app.