Fixed pylint errors.
More pylint error fixes.