Better handling of standard streams.