Fix typos in the API documentation.