Small fixes. Adding paginates one page functionality, and paginates spec file.