Decrease dependencies based on headers.