Invert dependencies.