Made DomainExample easier to test.