Added possibility to inject code from a type writer engine if this is required. This way, a class redefinition can copy the original type initializer into a specific method and invoke this method from the redefined class initializer.