adding comment on Model::replace_containments_with_nodes