Improved list implementation.