Is it possible to expose one API in XWalkExtensionContext for this?