Structural flexibility enhances the reactivity of the bioremediator glycerophosphodiesterase by fine-tuning its mechanism of hydrolysis.