Facilitated creation of DomainRef objects.