[indexfile_main] Move imports to the beginning of the file.