Added a first iteration of paging support.