Make the LegalizeType method naming scheme more regular.