Add doc API in multicontext