Peptide substrates, derived from natural O-GlcNAcylation targets, function in the catalytic cores of these two enzymes by maintaining interactions between enzyme and substrate, which makes them ideal models for the study of O-GlcNAcylation and deglycosylation.