Convert the pointer to an object for the assignments.