Invert dependencies