pub fn remove_root(doc: &mut DocumentMut, path: &str) -> bool
Returns false when the root was not listed.