Shell for internal C++ callback wrapper