Matching listener with the event name.