Coordinating signaling pathways between cell types to control anterior morphogenesis in C. elegans