Moved METS parsing out of view.