Change structure of dependencies