Add replace reducer.