removed reference to deprecated _routes for the buildRoutePaths method