Using Pomegranate to resolve dependencies.