Initial implementation of DependencyInjection.