Change the syntax of FOREACH macros to be less dumb.
Automatically attach modules to events