Register plugin with API upon loading