Made isArray a member function of Validator objects.