return the delegate without using a class instance.
returns a delegate or null if the class is not supported.
Clients like SerializeUtil are able to register methods for serializing additional classes.