Use the operator<< function in the base class