New api's and session model.