Replace dependency