Changes execution context of context init hooks.