Make connectWithSession work with passed in support var.