Add getConsole() to the API