public void RemoveMod(Mod m) { if (m != null) { ModsList.Remove(m); m.LinkedProfiles.Remove(this); } }