Add deserialization for NameComponent.