refine RoadGraph related classes