Fixes so base class static initializers get called when the subclass' static initializer is called.