Clean out some more stuff from the session hook which is no longer necessary.