Added some stream operators to basic classes.