Fix pyflakes warnings.