Added basic support for native session