Added remove-pipe method.