Fix undefined method add_routes