Allow for paged and limited results in query