merge returnValidator and typeValidator