Typo fixes in API