- Added required method into node class.