wip: remove duplicate api from Metadata