#35. Added distance metric to ParamDefs.