Use a class instance variable rather than a class variable

This seems slightly better because it doesn't go all the way up the
ancestor chain.  Still not great though.