ensure that classDeps are unique