Fixed pyflakes errors.