Moved UserPreferences to common