private static void AddFamiliesToList(SortedList MVList, PluginType aType)
    {
        IList <Plugin> aList = PluginManager.GetPluginList(aType, true, false);
        string         EntityAssemblyqualifiedName = (typeof(IAccount)).AssemblyQualifiedName;

        foreach (Plugin grp in aList)
        {
            string family = grp.Family;
            family = GroupInfo.GetEntityName(family);
            System.Type familytype = Type.GetType(EntityAssemblyqualifiedName.Replace("Account", family), false, true);
            if (familytype != null)
            {
                string famname = familytype.GetDisplayName();
                famname = string.IsNullOrEmpty(famname) ? family : famname;
                if (!MVList.ContainsKey(grp.Family) && !MVList.ContainsValue(famname))
                {
                    MVList.Add(grp.Family, famname);
                }
            }
        }
    }