Fixes parameter names in reducer.