Add initializeDependencyContainer hook.