Move to new more lua-centric object model, do not use yet, broken serialization.