Wrapping extension in anonymous function
Merge pull request #15 from Slamdunk/patch-1

Wrap extension in anonymous function