Implemented indexing of groups and entries.