Added distance heuristic classes.