Fix spacing, tabs, flake8 complaints.