BF: Remove unused imports and variables.

All highlighted by using pyflakes.