Add guard to execution policy.