better registration handling of domains, workflows, and activities