The new classes Event and EventSource can be used as a simple mechanism for implementing event-based callbacks in the simulators.