Make round-robin event distribution more generic.