Added a way to get the plugin instance and log messages easier