Moved C++ wrapping code below respective wrapped code.