Deactivate unused dependencies