Added a enumeration for all preferences.
Refactored "Pref" to "Preference".