Docstrings, typo, and return value