Relax typing for repeat (don't require unit)