Added a Upgrade class.