Template engine hook added