Make architecturesInFramework more resilient