updated domain classes as serializables