Leftover from mixed integrals fix. All of this passing around of the domain type should disappear when the actual fix to the order of integrals is fixed.