Dependency insertion fix (container agnostic)

This should be a bit better I think..
I don't have that. I tested this though, with custom dependencies, and it works fine.