Added nextPage/prevPage methods.