Add session support in deployments