Fixing as suggested in bug 2626, made naming same for both C, C++ and python API