coreapi: use extension entry point