Getters and setters for class Node