Added Preference manager.