Convert factory fields into newtypes.