Simplify isolateDomain API