Add support for printing output to stdout.