Add generated code for c++ bindings.

I hate C++...