Fixed all flake8 warnings.