Enforce in code that all messages sent back and forth have a cmd member