PyQt5 related changes.