Made Repository Session Storage more compatible to session storage