Add template deletion