Fix pylint bugs.