Refactored Link, Line and Route.