Change scope of IndexPage class to package.