Clean up IndexPage.class.php