Refactoring so that we only need a reference to the TenacityConfiguredBundle instead of the ConfigurationFactory as well.