Add missing docstring. Fix typo.