Revert "Emit command event when adding a command"

This reverts commit 1dd037c86abca6802453739ce802308821ec5f18.