api: expose scope creation