Fix compatibility with createWebPager()