Cleanup of genClass().
More lenient genPrimitiveJSRepeatedParam().