Adapt to API changes in nemo-qml-plugin-messages and libcommhistory-declarative