Added serializability.