The O-glycans that decorate mucin glycoproteins contribute to the biophysical and biochemical properties of these molecules and hence their function as a barrier and lubricant on epithelial surfaces.