Reduce operation.