Adds support for listeners to any event.