Support setting static fields for autoloaded classes