Fix API documentation in README