More reliable way to get event listener instance.