Removed SetPreferences method.