Substitution of tyrosine for either cysteine in beta-lactamase prevents release from the membrane during secretion.