There is still an template property with a sendmessage command in a queue object.
This template expects message parameters inserted as numbers. I think an update of this template to a more non-deprecated version would reduce the trouble of casting things to number and back to things like treenode or Object.
Many thanks for considering this.
Regards Jörg