event: Don't expose the register.
event: Save events per module.
event: Allow clearing of a single module's events.
ivar2: Clear module events when we disable the module.