Add function cogroup().

Ah yes - I somehow thought it would be serialized appropriately as a part of the dependencies etc. Anyways better to be safer I guess.