Added paging support and example.