Fixes bug that prevents the use of a pointer reciever when implementing the Marshaler interface