Resets dependencies.