Add isTemplate to template cells.