Collect now takes either a register or a g:variable