Add local storage support