#32 replaced engine.getDependencyInjector().inject(...) by engine.injectDependencies(...), because a dependency injector might be used by multiple engines