Add a function to select a road segment.

Also, removed unused functions in Attributes class.