Refined implementation of Node class.