Check for add_routes and use that if it exists