Updated document

Fixed an issue about usage of Pagination class.