Fixed broken declarations of the upgrade to 0.9