Supervisor modes

I changed operations so that it can be applied to replicated nodes, including bind, read, next, wait_needed, is_det, declare. There are still two operations 'fetch'  and 'reply_fetch' to be done. They are used to fetch values when a dataflow variable is bound to another.
Well, if I write in the 'pattern' matching way, then I have to duplicate all code within the next case statement for three times. Can you tell me what do you think is better?