Rename DistanceType enum to Distance for consistency