Flake8 fixes.
Prepare 1.0b6 release.