Added more API documentation