Pylint optimizations.