Reducers implementation.