Add class ArrayValidator