Added facilities for merging variable/domains