Removed some unused variables after running `pyflakes`.