Allow to nest template within template. Insipred by Zap.