Template engine now suitable for larger templates