Removes references to deps