Fixed serialization from serialization.