Edit Modes should be installable via plugins. This way a very obscure language plugin can package its own edit modes.
Macros should be added like actions to the plugin's action context,
so they can be added to the plugin menu like regular actions.
Some people prefer adding actions that way rather than in a xml file. It's easier to test and customize them without cutting and pasting in/out of an XML file.