Fixed to use ``to_header``