Started refactoring of ReactiveDomain and observer registry.