Added header dependencies support.