Fixed issue caused by incorrect API documentation