Preserve templates modes