Adding cleanup for ExtendedMetadataDelegates.