Fixed Flake8 warnings.