Added dependency check.