Lua control over staticization

Set the object property "staticize" to define whether to staticize.