Added Lua events, ReadOnly fields, custom set and get methods for Java
instances and userdata.