Added a way to get the plugin instance