Change interface of node.
Transform runtime objects into simple structs.
Fix debug messages.