Resolve dependencies