METS is the rightful clean_nodes function owner