Classes needs to be array.