method signature changes for TB.initSession and session.connect