Add smart pagination capabilities to collection