Added a promise for when the plugin has loaded