small API and typo fixes
api reference