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