Error in the documentation regarding the API calls

AFAIK, the latest version of the lib is quite different.