Added sample methods to TypedPipe

I'm not totally sure that I understand all the differences between the various pipe implementations, so please let me know if I need to change anything.