Add extension support.
Only include if defined
Merge branch 'master' into add_extension_support
Merge pull request #14 from ncolgan/add_extension_support

Add extension support.