Context C++ API