remove closure over the plugin instance
Merge pull request #1 from jberger/master

remove closure over the plugin instance