Fix for pyside (issue with pickling Signals)