automatic session initialization?

Is there a hook my library can use to automatically initialize certain session variables?

For now, I just have to exec( SessionVariables.initialize ) - but I’d like to make it automatic, if at all possible