Rename getCommandObjects to getCommands