Updated document

Fixed an issue about usages of Pagination class.