Add more API documentation