Remove internal reference to session