Fixed "redefinition of unused 'foo' from line X" pyflakes warnings.