second parameter of CHAIN body

The second parameter of body type CHAIN is not documented. So first I tried something like physics.body(CHAIN,vec2(10,10),…).
Depending on the vec2 value this makes Codea crash. I think it should output an error message instead. Also documenting available values for second parameter would help a lot. In an example I found “loop”, so I tried “open” as alternative.