Added checkVector() methods for classes