More modifications to the C++ interface. Changing the return type of a