Removed Index type, using plain vectors instead.