My version of the COLLECT macro.