Add support for paginated repositories