index: Add an entry.