Added assert to ValidatorBuilder