Some fixes to the pager.