Fixed a few typos in the API