Comment on Replace static code with dependency injection