Small typos in API doc

Nothing earth shattering here: small doc typos only.