What code are you reusing from Metadata.List?