Fix typos in API section