Circular dependency depth protector.