Remove unnecessary hooks
Add hs-minor-mode support