Added general Pipe API