Export callAttachHooks and callRemoveHooks
3.6.0