Each of the wings consists of a thin membrane supported by a system of veins. The membrane is formed by two layers of integument closely apposed, while the veins are formed where the two layers remain separate; sometimes the lower cuticle is thicker and more heavily sclerotized under a vein. Within each of the major veins there is a nerve and a trachea, and, since the cavities of the veins are connected with the hemocoel, hemolymph can flow into the wings. As the wing develops, the dorsal and ventral integumental layers become closely apposed over most of their area forming the wing membrane. The remaining areas form channels, the future veins, in which the nerves and tracheae may occur. The cuticle surrounding the veins becomes thickened and more heavily sclerotized to provide strength and rigidity to the wing. Two types of hair may occur on the wings: microtrichia, which are small and irregularly scattered, and macrotrichia, which are larger, socketed, and may be restricted to veins. The scales of Lepidoptera and Trichoptera are highly modified macrotrichia.