Remove unneeded depends.