Cleanup and added attr_session_accessor class extension to hide the details of session storage management.