Extension support for embedding API