Add support for paginated search results.