Modified the tails-do* macro.