Replaced depricated class in PagerExtension