Fix some typos in API call documentation