Rewriting outgoing pipeline with GCD.