Improved coding style in index file.