Extend templating system