Added method definition for Node interface