Moved API to plugin root