Added some execution hook checks.