astManipulator.removeFromBody(media);
BodiesStorage bodiesStorage = new BodiesStorage();
//move all kids of media into the empty clone. It is wasteful, they are going to be cloned but does not need to.
Body oldBody = parentChainIterator.getParentAsBody();
ASTCssNode currentNode = parentChainIterator.getCurrentNode();
parentChainIterator.moveUpToNextBody();
Body emptyClone = bodiesStorage.storeAndReplaceBySingleMemberClone(oldBody, null);
astManipulator.moveMembersBetweenBodies(media.getBody(), emptyClone);
while (!parentChainIterator.finished()) {
//store current node and
oldBody = parentChainIterator.getParentAsBody();