Resolve dependencies.