Added constructor to Node.