Updated RegisterType method signature