Added localStorage cleanup method.