Fix for GitHub issue #1 (Mongoose "Undefined type" error)
Merge pull request #3 from snappylabs/jpap-mongoose3-schema-fix

Fix for GitHub issue #1 (Mongoose "Undefined type" error)