Factoring out the pagination options allows for treating paginated queries as simple queries as well.