Added support for sub-types to extension types.
Merge pull request #42 from jmalloc/extension-sub-types

Added support for sub-types to extension types.