Uncommented Session manger code.