Yes, that seems the way to go. Since
Result
seems to be the container, or "parent", it can hold some sort of dictionary that all the "children" can have access to. Also this question might get a better reception at
software engineering —
quamrana 8 secs ago