Template modification