Convert ThreadLocals to use static classes, so as to avoid evil death
grips on the class hierarchy in a JEE environment.