Adding getOrElse to Session class