Replaced method .distance on Str with class StrDistance.