Add lists, elem() and setelem() functions