Refactoring pager