Fix operation creation from QML