Example how to encode families: Vec and lookup.