Fixed up typos and grammar in API markdown.