Created a workaround for bug with HK2 service populators.