get rid of init functions in Preferences