Refactored node types as uint32. All but transform nodes are leaves.