override classes with string or array of classes