With the same substance

John Isaac, Entomology in Outline, Sacramento (CA), W.W. Shannon, Superintendent State Printing, 1906.

The larvae remain in these structures, the head alone protruding, and are thus safe from outside foes. The material of which these structures are joined together is a silk spun by the worm, and the inside of the tubes is generally lined with the same substance.