DI 2.0.0

could `p` still be null in v2 ?