Added stub methods to complete the localStorage API