Make sure that we call add ref on the scratch pager.