Automatically attach modules to events
Remove whitespace