Allow for correct Marshaller with Castor Proxies.