Reintroduce partial functions; use MetricRegistry.name for naming metrics