Fix EventListener warnings.