Glycoside hydrolases are classified into EC 3.2.1 as enzymes catalyzing the hydrolysis of O- or S-glycosides. Glycoside hydrolases can also be classified according to the stereochemical outcome of the hydrolysis reaction: thus they can be classified as either retaining or inverting enzymes. Glycoside hydrolases can also be classified as exo or endo acting, dependent upon whether they act at the (usually non-reducing) end or in the middle, respectively, of an oligo/polysaccharide chain. Glycoside hydrolases may also be classified by sequence or structure-based methods.