2 minor spelling errors in api docs fixed

well, one spelling fix in the api docs, one in the func alias