Add some way to interact with the C++ from the QML.