Very small localStorage wrapper.