remove one-off add-mode defun