Fixed a bug in the API documentation