Changed "deftype" to camel cased "defType"

I had some troubles using DefType and saw that it is set to all lowercase "deftype". I've made a change so that it is camel cased, which appears to work as expected.