Use namedtuple for index entry.