remove old metadatainstance class.