Allow customization of Paginator class