Change create_preference signature.