Renamed reset method to resetHeader