Made sessions optional.