Made input and output handler virtual implementation methods private