Fixing the API documentation to be more accurate