Using modifyClass for objects which are initialized early in boot

@Firepup650 did you follow this?