Added debug info in event listener implementations.