Leaded surface mounted device