The others are fine, but `myPreferences` in this class looks like a bad idea.