Fix PySide compatibility for signal defs