Moved the Event system into the public MAPL.