public void UnregisterCommand (Command cmd) { bindings.UnregisterCommand (cmd); cmds.Remove (cmd.Id); }