Docstring changes and pep8 check