Initial refactor to put validators into Copybeans.