Repeat/macro helpers.