Fix requiring index files