Completed paging implementaion.