CNTNAP2 and autoimmune encephalitis: Both CASPR2-associated autoimmune encephalitis and AN are classified under IgG4 autoimmune diseases (IgG4-AID), characterized by the presence of pathogenic IgG4 antibodies.