Refactor v2 routes.