Api is now inside the plugin