The session key is now a parameter passed in by the environment.