Made ReduceKeyReduceSide serializable for external spill.