// Move the entities and relations inside to the outside.
for (Object childObject : preservedChildren) {
NamedObj child = (NamedObj) childObject;
String moml = "<group name=\"auto\">\n"
+ child.exportMoMLPlain() + "</group>";
request = new MoMLChangeRequest(this, container, moml);
request.execute();
NamedObj newlyAddedObject = _getNewlyAddedObject(container,
child.getClass());
_addReplacementToHostEntries(newlyAddedObject);