MDL-44637 events: Major alterations to all code.