These method calls often occur together, ie from EditPage.php:
$out->setSections( $parserOutput->getSections() ); $out->addParserOutputMetadata( $parserOutput );
These can probably be combined, pulling the setSections call into addParserOutputMetadata.
Follow up to T317333#8223090