Implement reducers