[Scripting][vm] Added many new defines and data structures.