Example of weak references for events.