C++ stuff.