DI: configuration `Class: self` is deprecated, use `- Class`