Use code event listener hints for template hooks