SPEED-10 Fix: $hookmanager is a global object