Added replace functions to LibLists.