#5169 removing metadatype code support