DI 2.0.0

`throw` should be indented here and above. I would also add return types for the methods