Made it so that the pm is always an object.