Work with the new session plugin.