Made it so the simulator treats events correctly.