Convert to session variables.