Fixing pylint errors.