Changed local storage function name.