Add replace dependency.