Adds paging support for exporting