API documentation improved