private void AddCoreEntry(string ModIDEntry, object Entry) { //Entries Entries.AddCoreEntry(ModIDEntry, MessagePackSerializer.Typeless.Serialize(Entry)); //Categories List <string> NewCategories = ModIDUtil.GetCategories(ModIDEntry); foreach (var Category in NewCategories) { Categories.AddCoreEntry(Category, ModIDEntry); } }