Made the plugin respond to api calls