Add PySide compatibility.