Fix missing _0 placeholder error.
Add generation of C++ function signatures.
Include the C++ functional header.