Removed old unused pref calls