Hooks.getHooks() calls Object.concat() and causes an error