Remove unused references to obsolete getMetadata() function.