remove registerType; #15