Possibly working way of defining a domain.