Use the registerType() method for these assignments