Moved old tsconsole stuff into here.