Simplified Piping code.