Fix pylint errors.