Improving pagination.