Modified the retry types to allow for arrays.