Added option to return all paged results