This is not supported anymore. You need to provide a SenssionHandlerInterface object