Added dependency function.