Correcting some typos in API documentation