Const touches in the API
Fixed a crash on session opening