Add a remove hook for overriding major-mode key hook
Fix problem that can't override automatically