change signature of Bot.Connect.