Adapted ongoing work in issue/2339 branch to recent changes in kernel API regarding hooks, in branch next of Level0.
Readapted issue/2339 branch to recent changes in Level0 regarding hooks.