Change some base pager logic, divide AbstractRoutesFragment logic into parts and some refactoring