Stream as output implemented.