Treatment of the gastrointestinal tract