Updated DependencyInject to match library