Collagen and calcium work in tandem to achieve varying mechanical properties of different kinds of mucus.