Adopts new multidomain constructors, resolving deprecation warnings as discussed in #1068 (closed). Fixes #1068 (closed).