Fix some pyflakes errors.