Added the Metric conversion class.