Modified LinkedListNode to use internal methods for relationship creation and deletion.