More stable upgrades.

Upgrade and install scripts now have access to that component's classes without manually defining them.
Core loads the component it is currently upgrading into temporary memory until the upgrade operation has completed.