Added enums for the types of variables and methods and for the type of nodes.