Wrote the list dump functions.