Add support for paginated contact retrieval.