DI 2.0.0

do we want to add an optional `depth` here ?