Better docstring for _attachDefaultKeyboardShortcuts