Factoring out usages of Deps as list of installed libraries

There was also "Exact" constructor, which was later replaced by a function. I'll fix that.