Initial implementation of pagination for passes.