Adding docstrings, quieting pylint