Remove hook by callback and _runHook() refactoring