Changed "deftype" to camel cased "defType"