Improve DomainsFcty and make it more usable