Added limits for upgrades.