Add legacy with_request with search params processing.