Fixed a bug where the dependencies were not propagated properly when merged inside the DependencyInjection object.