Adds methods to linked list