Run bytecode transformation on first boot.
Apply legacy factories transformer.