Improvements to various lists functions