Ce 1021 exacttarget user groups

Why is the group passed by reference? Modifying the value here wouldn't change anything. Same for the hook below.