typos

Found these while reading API so I might as well fix them.