Cleanup the php models.