I am following a published procedure for deprotecting a tert-butyl ester using trifluoroacetic acid. Following removal of the t-butyl group, the product was precipitated in ethyl ether, re-dissolved in water, and stirred with Amberlite IRA-400(OH) ion-exchange resin at 0C for 30 minutes. Can anyone tell me the likely purpose of the ion-exchange resin?