Changed stream operators to static.