Changes Metric constructor to be public.