parentPath is property now, so removed Q_INVOKABLE.