Several warnings from a new release of pyflakes have been fixed.