Auto initialize the eventsWithCallback object.

This makes the if check obsolete every time we add a listener.