API documentation fixed