Getting templates working.