Add ModelObject implementation for deserialization.