Use new method to calculate dependencies in a more robust manner.