Fix minor typos in README's API section

Minor grammar fixes in README, nothing special.