weight.classes accepts nameless vectors