Renamed obj to node for better semantics.