Fixed registerType