class Stuff inherits List cue init base.init class Stuff inherits Dictionary cue init base.init class Test def main is shared list = Stuff() list.add(5) assert list.count == 1 assert list[0] == 5 dict = Stuff() dict.add('three', 3) assert dict.count == 1 assert dict['three'] == 3