(refs #341) Sets default value.
(refs #341) Implement a method to get the session.
(refs #341) Fix compile errors.