Extension support for embedding API

`2.1`