Added DomainService for reusable domain retrieval.