support getEventListeners.