More docstrings and typos.