eg: javascript `atom.commands.add("atom-workspace", {"mycommand": function f() {}});` The function f will be called as many times as the command is registered. The expected behavior is that add is idempotent - dispatching the function only once.