Fixing API documentation