is a small/unlikely thing, but defining this at the class level introduces similar scope problems as defining lists and dicts as default arguments to functions does (which though not in the diff, happens right below).