Initially attach all modules to all events, and detach them as the events are run if they are not implemented per module