Add support for paging through repositories