Fixed the 'this' references in the generated C++ code.