Fixed "cannot redefine getHooks()" bug