Enable registering of custom types