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