Added the ability for modules to specify keyboard shortcuts.