Removed some warnings from pep8