Fix pylint warnings more or less.