it's a little weird to have to pass the dimension name to get the metric back, I understand it's to handle the lexicographic case, but it's a little puzzling out of context.