Added distance matcher.