Support for index-entries

This gives basic support for Index-Entries.