Fix some typos in TypedPipe docs, expand flatMap docs