Added twirl template support