Properly get the plugin instance

What was I thinking earlier?