Removes unused imports as reported by pyflakes.