Flatten all headers