Enclosed resistors