Added Prefs class