Convert to a new-style extension
Merge pull request #7 from bhollis/master

Convert to a new-style extension