Removed unnecessary pipeIfStream() utility function.