A functional analysis of dendrite enclosure by epidermal cells