Changed operators on ListNode to functions.