An electrical device for high voltage applications, comprising: an electrical component connected to a first lead and a second lead ; a molded body comprising a top surface and an opposite bottom surface , a front surface and an opposite back surface , a first side surface and an opposite second side surface , the molded body formed around the electrical component and portions of the first lead and the second lead, the first lead extending from the first side surface of the molded body, and the second lead extending from the second side surface of the molded body; the molded body comprising a first non-ribbed area (N) at the bottom, front and back surfaces adjacent the first side surface , a second non-ribbed area (N') at the bottom, front and back surfaces adjacent the second side surface , and a ribbed portion (R) comprising ribs along the bottom surface, front surface and back surface of the molded body, and extending between the first non-ribbed area and the second non-ribbed area, wherein the ribs are formed by channels between adjacent ribs, the ribbed portion increasing a surface distance between the first lead and the second lead; wherein at least a portion of the first lead is bent so as to be positioned along the first side surface of the molded body and at least portions of the first non-ribbed area of the bottom surface ; and wherein at least a portion of the second lead is bent so as to be positioned along the second side surface and at least portions of the second non-ribbed area of the bottom surface , the first lead and the second lead positioned so as to form a surface mount device; and wherein the top surface is generally flat. an electrical component connected to a first lead and a second lead ; a molded body comprising a top surface and an opposite bottom surface , a front surface and an opposite back surface , a first side surface and an opposite second side surface , the molded body formed around the electrical component and portions of the first lead and the second lead, the first lead extending from the first side surface of the molded body, and the second lead extending from the second side surface of the molded body; the molded body comprising a first non-ribbed area (N) at the bottom, front and back surfaces adjacent the first side surface , a second non-ribbed area (N') at the bottom, front and back surfaces adjacent the second side surface , and a ribbed portion (R) comprising ribs along the bottom surface, front surface and back surface of the molded body, and extending between the first non-ribbed area and the second non-ribbed area, wherein the ribs are formed by channels between adjacent ribs, the ribbed portion increasing a surface distance between the first lead and the second lead; wherein at least a portion of the first lead is bent so as to be positioned along the first side surface of the molded body and at least portions of the first non-ribbed area of the bottom surface ; and wherein at least a portion of the second lead is bent so as to be positioned along the second side surface and at least portions of the second non-ribbed area of the bottom surface , the first lead and the second lead positioned so as to form a surface mount device; and wherein the top surface is generally flat. <EOS>