Move Pipe API into transport for now