Add validate_hash back into config class.