Tidying up Singly Linked List class.