Issue #84 - Add function to get default type and fix auto-setting prop.type
Merge pull request #84 from kewisch/defaulttype-fixes

Add function to get default type and fix auto-setting prop.type