Add more library functions for Set, Seq, Sorted