Remove hard-coded header and trailer lenghts.