Overload IO operators.