Make Preference class noninstantiable