[JSC] Generator should have internal fields