Finally moved list utilities into their own module.