changed ValidatingPathCallback so that any event class with the desired field is ok.