Some minor refactors in models link and subnet
and domain views