Initializes the shell with extensions related functionality.
function initialize(shell) {
  shell.loadedExtensions = {};

  shell.registerCommand('extension', extensionCommand);
  shell.registerCommand('extensions', extensionsCommand);
}