Fix remaining pylint violations