Added ostream formatting