Fixed bug #17507: Extension using stdWrap hooks are broken due to stdWrap refactoring...