defun and key binding mods