Removes code for old events system.