Upgrade path fixes. Checking for missing dependencies