Add inPipe method