Improvements to various classes
TODO: Complete the DomainTree.addDomain() method