Pipe refactor

I've updated the Pipe doc with our new APIs