Changed getDependencies to IUpgrade[]