Various pylint powered improvements