support for domain dependencies
(close #148)