Minor pylint fixes