Some utils for working with dependencies