accept variadic class names in AddClass