Paginator class helper