Making index.php easier to test.