Automatic undef system; Definitions structured; Added classes; Name fixes