Finialize routes.