Modify pagination.