handle changes to the format of the userdata that is passed by the factory