Fix bug where sessionOpenCallback was missing in struct