Added hasNext and hasPrev to both paginators.