Moved compression back to header