Refactor node, remove unnecessary visibility modifiers, remove getters/setters from inner node.