Improved event subsystem.