Added hook for emacs-refactor