Add pagination to collection