Add pagesize and pagenumber as keyword arguments