This should be created at module level, also the naming could use a bit of level. Also use the "list" form of the constructor, not the str (i.e. `namedtuple("Class", ["foo", "bar"])`)