Update TM merge to support option for imported TMs.