Add an ElementList abstraction and an append() function.