Fix some minor pylints.