Removes unnecessary header encoding info from code.