Implement transactions in DomainManager