Added element removal and addition at the end of the list.