Added dependency tracking