API Views: Flake8 fixes.