Adapt dependencies