Added de-serialization.