Replace dist.