Add additional integrity checks.