Deal with paginated responses.