routes() method is now get_routes()