Fixed Forge compatibility of the class transformer.