Remove obsolete method _write_index