Fix pylint complaints.