Put directions into DirectionsResource class.