DI extension definition.