Implement support for installing packages with embedded dependencies