Removes pyflakes and pep8 warnings