Eliminate headers depending on headers