Removed the branching in stream_formatter.