chore(session): Remove use of global session functions from all classes

As is still LGTM