Destroy dependencies.