Docstrings follow PEP257. PEP8 fixes.