All these static fields can be instance fields, so I moved them to an internal class.