multi-domain class updates with constructor for domain_id
multi-domain updates for modules