Change constructor to improve node exceptions .