Simplify printout and use slots on Node classes