Reworked list.h.