MODE-2292 Indexes and definitions are now properly persisted and work across repository restarts.