I guess we could also turn those things into module globals, since code like this is never going to be reused by more than one thing at the same time...  A module global would be a bit less ugly than the list trick.