Added documentation for Distances.