O-GlcNAc occurs cotranslationally to stabilize nascent polypeptide chains.