Allow usage in C++ code