Fix minor documentation typos

Just a couple of minor typo corrections in the function @doc tags.