Adding support for customData, confidence, msgId