Added UNDEFINED feature
Removed NO_NODE and added COMPACT compatibility