Improve API documentation