C++ wrappers nowuse pointers rather than references (were applicable).
[skip ci]