Fix invalid field lists being generated for open types, and then being inherited by the prototype of the closed type, preventing the generation of a valid field list. Fixes issue #242.