Bug fix.
Rename properties when they are aliased or prefixed.
Lazy-load session.
Added close method.