Cleaned up preferences.