Added information about setPages method to the documentation.