Document the return value and fix a typo.