forgot to copy over validator.cpp.