pyflakes changes, removed unused imports