Handle empty event listeners