Reduce compiled template footprint