Fix pep8/pyflakes warnings.