Extract validators out