Create the API object in the core plugin.